package cn03;

//全参构造传递参数

public class lu {
    private  String name;
    private   int age;

    public lu(){
        System.out.println("无参构造");
    }
    public lu(String name,int age){
        this.name = name;
        this.age = age;
        System.out.println("全参构造");
    }
    public  void show(){
        System.out.println(name +"--"+age);
    }

}
